package com.ktgj.common.log.domain;

import com.ktgj.common.core.constant.BusinessTypeConstants;
import com.ktgj.common.core.constant.Constant;
import com.ktgj.common.log.enums.BusinessType;

/**
 * 第三方接口日志类
 */
public class ThirdInterfaceLog
{
    //业务线类型
    private BusinessType businessType;
    //接口渠道标识(比如，酒店渠道艺龙，机票渠道华夏)
    private String channelType;
    //来源
    private BusinessTypeConstants.SourceWay sourceWay;
    //请求地址
    private String url;
    //请求参数
    private String requestParams;
    //请求时间
    private String requestTime;
    //响应参数
    private String responseParams;
    //响应时间
    private String responseTime;

    public BusinessType getBusinessType()
    {
        return businessType;
    }

    public void setBusinessType(BusinessType businessType)
    {
        this.businessType = businessType;
    }

    public String getChannelType()
    {
        return channelType;
    }

    public void setChannelType(String channelType)
    {
        this.channelType = channelType;
    }

    public BusinessTypeConstants.SourceWay getSourceWay()
    {
        return sourceWay;
    }

    public void setSourceWay(BusinessTypeConstants.SourceWay sourceWay)
    {
        this.sourceWay = sourceWay;
    }

    public String getUrl()
    {
        return url;
    }

    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getRequestParams()
    {
        return requestParams;
    }

    public void setRequestParams(String requestParams)
    {
        this.requestParams = requestParams;
    }

    public String getRequestTime()
    {
        return requestTime;
    }

    public void setRequestTime(String requestTime)
    {
        this.requestTime = requestTime;
    }

    public String getResponseParams()
    {
        return responseParams;
    }

    public void setResponseParams(String responseParams)
    {
        this.responseParams = responseParams;
    }

    public String getResponseTime()
    {
        return responseTime;
    }

    public void setResponseTime(String responseTime)
    {
        this.responseTime = responseTime;
    }
}
